﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OBSwindles
{
    public class Customer
    {
        private int _CustomerID;
        private string _CustomerNo;
        private string _FirstName;
        private string _LastName;
        private string _ContactNumber;
        private string _ContactAddress;
        private int _LoginID;
        
        public Customer()
        {
        }
        public Customer(int p_CustomerID, string p_CustomerNo, string p_FirstName, string p_LastName, string p_ContactNumber, string p_ContactAddress, int p_LoginID)
        {
            _CustomerID = p_CustomerID;
            _CustomerNo = p_CustomerNo;
            _FirstName = p_FirstName;
            _LastName = p_LastName;
            _ContactNumber = p_ContactNumber;
            _ContactAddress = p_ContactAddress;
            _LoginID = p_LoginID;

        }
        
        public virtual int CustomerID
        {
            get { return _CustomerID; }
            set { _CustomerID = value; }
        }

        public virtual string CustomerNo
        {
            get { return _CustomerNo; }
            set { _CustomerNo = value; }
        }

        public virtual string FirstName
        {
            get { return _FirstName; }
            set { _FirstName = value; }
        }

        public virtual string LastName
        {
            get { return _LastName; }
            set { _LastName = value; }
        }

        public virtual string ContactNumber
        {
            get { return _ContactNumber; }
            set { _ContactNumber = value; }
        }

        public virtual string ContactAddress
        {
            get { return _ContactAddress; }
            set { _ContactAddress = value; }
        }

        public virtual int LoginID
        {
            get { return _LoginID; }
            set { _LoginID = value; }
        }

        private IList<LoanInfo> _LoanList;
        public virtual IList<LoanInfo> LoanList
        {
            get { return _LoanList; }
            set { _LoanList = value; }
        }

        private IList<AccountInfo> _AccountList;
        public virtual IList<AccountInfo> AccountList
        {
            get { return _AccountList; }
            set { _AccountList = value; }
        }

    }
}

